package com.ssm.model;

import javax.persistence.*;

@Table(name = "exam_user_subject")
public class ExamUserSubject {
    @Id
    @Column(name = "sub_id")
    private Integer subId;

    @Id
    @Column(name = "user_id")
    private String userId;

    /**
     * @return sub_id
     */
    public Integer getSubId() {
        return subId;
    }

    /**
     * @param subId
     */
    public void setSubId(Integer subId) {
        this.subId = subId;
    }

    /**
     * @return user_id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }
}